home *** CD-ROM | disk | FTP | other *** search
/ 17 Bit Software 6: Level 6 / 17 Bit - Level 6 (1998)(Epic Marketing)[!].iso / quartz / q0429.dms / q0429.adf / libray / libcommon / error.h < prev    next >
C/C++ Source or Header  |  1991-08-08  |  1KB  |  44 lines

  1. /*
  2.  * error.h
  3.  *
  4.  * Copyright (C) 1989, 1991, Craig E. Kolb
  5.  * All rights reserved.
  6.  *
  7.  * This software may be freely copied, modified, and redistributed
  8.  * provided that this copyright notice is preserved on all copies.
  9.  *
  10.  * You may not distribute this software, in whole or in part, as part of
  11.  * any commercial product without the express consent of the authors.
  12.  *
  13.  * There is no warranty or other guarantee of fitness of this software
  14.  * for any purpose.  It is provided solely "as is".
  15.  *
  16.  * $Id: error.h,v 4.0 91/07/17 14:30:27 kolb Exp Locker: kolb $
  17.  *
  18.  * $Log:    error.h,v $
  19.  * Revision 4.0  91/07/17  14:30:27  kolb
  20.  * Initial version.
  21.  * 
  22.  */
  23. #ifndef ERROR_H
  24. #define ERROR_H
  25. /*
  26.  * Error severity codes, passed to user-provided RLerror()
  27.  * function which optionally prints and optionally exits.
  28.  *
  29.  * RL_ADVISE    Message may safely be safely suppressed, though
  30.  *        the resulting image may not be exactly what you expect.
  31.  * RL_WARN    Message should probably be printed; image will most
  32.  *        likely be affected.
  33.  * RL_ABORT    Message should be printed -- couldn't perform a request.
  34.  *        The resulting image will be affected.
  35.  * RL_PANIC    Fatal error -- call to RLerror() must not return.
  36.  */
  37. #define RL_ADVISE    0    /* Advisory */
  38. #define RL_WARN        1    /* Warning */
  39. #define RL_ABORT    2    /* Aborted */
  40. #define RL_PANIC    3    /* Panic */
  41.  
  42. extern void RLerror();        /* application-supplied reporting routine */
  43. #endif /* ERROR_H */
  44.